package com.efast.dmom.mgmt.entity.les;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 质检任务子表
 * </p>
 *
 * @author ChenLiPeng
 * @since 2018-05-27
 */
@TableName("tw_quality_task_detail")
public class TwQualityTaskDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "tw_quality_task_detail_id", type = IdType.AUTO)
    private Integer twQualityTaskDetailId;
    /**
     * 质检任务头表id	
     */
    @TableField("tw_quality_task_header_id")
    private Integer twQualityTaskHeaderId;
    /**
     * 	质检任务状态 默认是0
质检任务状态 0新单 1部分质检 2完全质检  3任务关闭）
     */
    @TableField("quality_status")
    private String qualityStatus;
    /**
     * 	asn 行号
     */
    @TableField("asn_lineno")
    private Integer asnLineno;
    /**
     * 	零件号
     */
    @TableField("part_no_version")
    private String partNoVersion;
    /**
     * 入库包装号	
     */
    @TableField("inbound_pack_no")
    private String inboundPackNo;
    /**
     * 入库包装流水号	
     */
    @TableField("inb_serial_no")
    private String inbSerialNo;
    /**
     * asn序列号	
     */
    @TableField("asn_sheet_no")
    private String asnSheetNo;
    /**
     * 供应商号	
     */
    @TableField("suppl_no")
    private String supplNo;
    /**
     * 零件中文名称	
     */
    @TableField("part_name_c")
    private String partNameC;
    /**
     * 基本单位	
     */
    @TableField("base_unit")
    private String baseUnit;
    /**
     * 预期质检数量	
     */
    @TableField("pre_nbound_qty")
    private Integer preNboundQty;
    /**
     * 实际质检通过数量
质检不通过为0
     */
    @TableField("act_nbound_qty")
    private Integer actNboundQty;
    /**
     * 质检时间	
     */
    @TableField("quality_time")
    private Date qualityTime;
    /**
     * 质检人	
     */
    @TableField("quality_man")
    private String qualityMan;
    /**
     * 货主 默认是配送单位中本工厂	
     */
    private String customerid;
    /**
     * 	批次01
     */
    private String lotatt01;
    private String lotatt02;
    private String lotatt03;
    private String lotatt04;
    private String lotatt05;
    private String lotatt06;
    private String lotatt07;
    private String lotatt08;
    private String lotatt09;
    private String lotatt10;
    private String lotatt11;
    private String lotatt12;
    /**
     * 	行号 自递增
     */
    @TableField("line_no")
    private Integer lineNo;
    /**
     * 质检任务单号	
     */
    @TableField("quality_alloc_no")
    private String qualityAllocNo;
    /**
     * 批次号	
     */
    @TableField("lot_no")
    private String lotNo;
    /**
     * 入库包装容量	
     */
    @TableField("inbound_pack_qty")
    private Integer inboundPackQty;
    /**
     * 入库优先级	
     */
    @TableField("inbound_priority")
    private String inboundPriority;
    /**
     * 实际质检箱数 默认是0	
     */
    @TableField("act_quality_pack_num")
    private Integer actQualityPackNum;
    /**
     * 预期质检箱数 默认是1	
     */
    @TableField("pre_quality_pack_num")
    private Integer preQualityPackNum;
    /**
     * 零件包装流水号	
     */
    @TableField("part_pack_serial")
    private String partPackSerial;
    /**
     * 待收货库位id	
     */
    @TableField("stage_bas_storage_id")
    private Integer stageBasStorageId;
    /**
     * 实物所在库位
     */
    @TableField("act_tm_bas_storage_id")
    private Integer actTmBasStorageId;
    /**
     * 质检完成后 进行分配上架 对应的分配任务的id	
     */
    @TableField("tw_inbound_alloc_detail_id")
    private Integer twInboundAllocDetailId;
    /**
     * 是否激活
     */
    @TableField("mark_status")
    private Integer markStatus;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 创建用户
     */
    @TableField("create_user")
    private String createUser;
    /**
     * 上次更新时间
     */
    @TableField("last_update_time")
    private Date lastUpdateTime;
    /**
     * 更改用户
     */
    @TableField("last_update_user")
    private String lastUpdateUser;
    /**
     * 版本控制
     */
    @TableField("opt_counter")
    private Integer optCounter;
    /**
     * 企业代码
     */
    @TableField("company_code")
    private String companyCode;


    public Integer getTwQualityTaskDetailId() {
        return twQualityTaskDetailId;
    }

    public void setTwQualityTaskDetailId(Integer twQualityTaskDetailId) {
        this.twQualityTaskDetailId = twQualityTaskDetailId;
    }

    public Integer getTwQualityTaskHeaderId() {
        return twQualityTaskHeaderId;
    }

    public void setTwQualityTaskHeaderId(Integer twQualityTaskHeaderId) {
        this.twQualityTaskHeaderId = twQualityTaskHeaderId;
    }

    public String getQualityStatus() {
        return qualityStatus;
    }

    public void setQualityStatus(String qualityStatus) {
        this.qualityStatus = qualityStatus;
    }

    public Integer getAsnLineno() {
        return asnLineno;
    }

    public void setAsnLineno(Integer asnLineno) {
        this.asnLineno = asnLineno;
    }

    public String getPartNoVersion() {
        return partNoVersion;
    }

    public void setPartNoVersion(String partNoVersion) {
        this.partNoVersion = partNoVersion;
    }

    public String getInboundPackNo() {
        return inboundPackNo;
    }

    public void setInboundPackNo(String inboundPackNo) {
        this.inboundPackNo = inboundPackNo;
    }

    public String getInbSerialNo() {
        return inbSerialNo;
    }

    public void setInbSerialNo(String inbSerialNo) {
        this.inbSerialNo = inbSerialNo;
    }

    public String getAsnSheetNo() {
        return asnSheetNo;
    }

    public void setAsnSheetNo(String asnSheetNo) {
        this.asnSheetNo = asnSheetNo;
    }

    public String getSupplNo() {
        return supplNo;
    }

    public void setSupplNo(String supplNo) {
        this.supplNo = supplNo;
    }

    public String getPartNameC() {
        return partNameC;
    }

    public void setPartNameC(String partNameC) {
        this.partNameC = partNameC;
    }

    public String getBaseUnit() {
        return baseUnit;
    }

    public void setBaseUnit(String baseUnit) {
        this.baseUnit = baseUnit;
    }

    public Integer getPreNboundQty() {
        return preNboundQty;
    }

    public void setPreNboundQty(Integer preNboundQty) {
        this.preNboundQty = preNboundQty;
    }

    public Integer getActNboundQty() {
        return actNboundQty;
    }

    public void setActNboundQty(Integer actNboundQty) {
        this.actNboundQty = actNboundQty;
    }

    public Date getQualityTime() {
        return qualityTime;
    }

    public void setQualityTime(Date qualityTime) {
        this.qualityTime = qualityTime;
    }

    public String getQualityMan() {
        return qualityMan;
    }

    public void setQualityMan(String qualityMan) {
        this.qualityMan = qualityMan;
    }

    public String getCustomerid() {
        return customerid;
    }

    public void setCustomerid(String customerid) {
        this.customerid = customerid;
    }

    public String getLotatt01() {
        return lotatt01;
    }

    public void setLotatt01(String lotatt01) {
        this.lotatt01 = lotatt01;
    }

    public String getLotatt02() {
        return lotatt02;
    }

    public void setLotatt02(String lotatt02) {
        this.lotatt02 = lotatt02;
    }

    public String getLotatt03() {
        return lotatt03;
    }

    public void setLotatt03(String lotatt03) {
        this.lotatt03 = lotatt03;
    }

    public String getLotatt04() {
        return lotatt04;
    }

    public void setLotatt04(String lotatt04) {
        this.lotatt04 = lotatt04;
    }

    public String getLotatt05() {
        return lotatt05;
    }

    public void setLotatt05(String lotatt05) {
        this.lotatt05 = lotatt05;
    }

    public String getLotatt06() {
        return lotatt06;
    }

    public void setLotatt06(String lotatt06) {
        this.lotatt06 = lotatt06;
    }

    public String getLotatt07() {
        return lotatt07;
    }

    public void setLotatt07(String lotatt07) {
        this.lotatt07 = lotatt07;
    }

    public String getLotatt08() {
        return lotatt08;
    }

    public void setLotatt08(String lotatt08) {
        this.lotatt08 = lotatt08;
    }

    public String getLotatt09() {
        return lotatt09;
    }

    public void setLotatt09(String lotatt09) {
        this.lotatt09 = lotatt09;
    }

    public String getLotatt10() {
        return lotatt10;
    }

    public void setLotatt10(String lotatt10) {
        this.lotatt10 = lotatt10;
    }

    public String getLotatt11() {
        return lotatt11;
    }

    public void setLotatt11(String lotatt11) {
        this.lotatt11 = lotatt11;
    }

    public String getLotatt12() {
        return lotatt12;
    }

    public void setLotatt12(String lotatt12) {
        this.lotatt12 = lotatt12;
    }

    public Integer getLineNo() {
        return lineNo;
    }

    public void setLineNo(Integer lineNo) {
        this.lineNo = lineNo;
    }

    public String getQualityAllocNo() {
        return qualityAllocNo;
    }

    public void setQualityAllocNo(String qualityAllocNo) {
        this.qualityAllocNo = qualityAllocNo;
    }

    public String getLotNo() {
        return lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public Integer getInboundPackQty() {
        return inboundPackQty;
    }

    public void setInboundPackQty(Integer inboundPackQty) {
        this.inboundPackQty = inboundPackQty;
    }

    public String getInboundPriority() {
        return inboundPriority;
    }

    public void setInboundPriority(String inboundPriority) {
        this.inboundPriority = inboundPriority;
    }

    public Integer getActQualityPackNum() {
        return actQualityPackNum;
    }

    public void setActQualityPackNum(Integer actQualityPackNum) {
        this.actQualityPackNum = actQualityPackNum;
    }

    public Integer getPreQualityPackNum() {
        return preQualityPackNum;
    }

    public void setPreQualityPackNum(Integer preQualityPackNum) {
        this.preQualityPackNum = preQualityPackNum;
    }

    public String getPartPackSerial() {
        return partPackSerial;
    }

    public void setPartPackSerial(String partPackSerial) {
        this.partPackSerial = partPackSerial;
    }

    public Integer getStageBasStorageId() {
        return stageBasStorageId;
    }

    public void setStageBasStorageId(Integer stageBasStorageId) {
        this.stageBasStorageId = stageBasStorageId;
    }

    public Integer getActTmBasStorageId() {
        return actTmBasStorageId;
    }

    public void setActTmBasStorageId(Integer actTmBasStorageId) {
        this.actTmBasStorageId = actTmBasStorageId;
    }

    public Integer getTwInboundAllocDetailId() {
        return twInboundAllocDetailId;
    }

    public void setTwInboundAllocDetailId(Integer twInboundAllocDetailId) {
        this.twInboundAllocDetailId = twInboundAllocDetailId;
    }

    public Integer getMarkStatus() {
        return markStatus;
    }

    public void setMarkStatus(Integer markStatus) {
        this.markStatus = markStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }

    public Integer getOptCounter() {
        return optCounter;
    }

    public void setOptCounter(Integer optCounter) {
        this.optCounter = optCounter;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    @Override
    public String toString() {
        return "TwQualityTaskDetail{" +
        ", twQualityTaskDetailId=" + twQualityTaskDetailId +
        ", twQualityTaskHeaderId=" + twQualityTaskHeaderId +
        ", qualityStatus=" + qualityStatus +
        ", asnLineno=" + asnLineno +
        ", partNoVersion=" + partNoVersion +
        ", inboundPackNo=" + inboundPackNo +
        ", inbSerialNo=" + inbSerialNo +
        ", asnSheetNo=" + asnSheetNo +
        ", supplNo=" + supplNo +
        ", partNameC=" + partNameC +
        ", baseUnit=" + baseUnit +
        ", preNboundQty=" + preNboundQty +
        ", actNboundQty=" + actNboundQty +
        ", qualityTime=" + qualityTime +
        ", qualityMan=" + qualityMan +
        ", customerid=" + customerid +
        ", lotatt01=" + lotatt01 +
        ", lotatt02=" + lotatt02 +
        ", lotatt03=" + lotatt03 +
        ", lotatt04=" + lotatt04 +
        ", lotatt05=" + lotatt05 +
        ", lotatt06=" + lotatt06 +
        ", lotatt07=" + lotatt07 +
        ", lotatt08=" + lotatt08 +
        ", lotatt09=" + lotatt09 +
        ", lotatt10=" + lotatt10 +
        ", lotatt11=" + lotatt11 +
        ", lotatt12=" + lotatt12 +
        ", lineNo=" + lineNo +
        ", qualityAllocNo=" + qualityAllocNo +
        ", lotNo=" + lotNo +
        ", inboundPackQty=" + inboundPackQty +
        ", inboundPriority=" + inboundPriority +
        ", actQualityPackNum=" + actQualityPackNum +
        ", preQualityPackNum=" + preQualityPackNum +
        ", partPackSerial=" + partPackSerial +
        ", stageBasStorageId=" + stageBasStorageId +
        ", actTmBasStorageId=" + actTmBasStorageId +
        ", twInboundAllocDetailId=" + twInboundAllocDetailId +
        ", markStatus=" + markStatus +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", lastUpdateTime=" + lastUpdateTime +
        ", lastUpdateUser=" + lastUpdateUser +
        ", optCounter=" + optCounter +
        ", companyCode=" + companyCode +
        "}";
    }
}
